[cargo new] Add a new --vcs enumeration flag
authorWesley Wiser <wwiser@gmail.com>
Sun, 4 Jan 2015 23:11:55 +0000 (18:11 -0500)
committerWesley Wiser <wwiser@gmail.com>
Tue, 6 Jan 2015 01:33:47 +0000 (20:33 -0500)
commita45aa4ad27884d2a113907623c71d90f3111296d
treec7b620bb9cf61fe7777d77143b7e3b78474f6090
parent5443813c6dcc7c11dd4e80195c46498a5a033ff3
[cargo new] Add a new --vcs enumeration flag

Replace the --git, --hg, and --no-git flags with a --vcs enumeration
flag which supports the values "git", "hg", and "none".

Related to #1116
src/bin/new.rs
src/doc/guide.md
tests/test_cargo_new.rs